package com.asset.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 角色表
 * @author 11725
 */
@Table(name = "tab_role")
@Data
public class Role {
    /** 角色编号 */
    @Id
    @Column(name = "role_id")
    private Long id;
    /** 角色名称 */
    @Column(name = "role_name")
    private String name;
    /** 角色详情 */
    @Column(name = "role_detail")
    private String detail;
}
